﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BCDto.TMS.MarketingCoupon.MarketingCouponType
{
    public class MarketingCouponTypeRequestDto
	{
		/// <summary>
		/// 优惠券类型名称
		/// </summary>
		[Display(Name = "优惠券类型")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public string CouponType { get; set; }
		/// <summary>
		/// 优惠金额
		/// </summary>
		[Display(Name = "优惠金额")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public decimal CouponAmount { get; set; }
		/// <summary>
		/// 优惠券数量
		/// </summary>
		[Display(Name = "优惠券数量")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public int CouponCount { get; set; }
		/// <summary>
		/// 开始日期
		/// </summary>
		[Display(Name = "开始日期")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public DateTime StartDate { get; set; }
		/// <summary>
		/// 结束日期
		/// </summary>
		[Display(Name = "结束日期")]
		[Required(ErrorMessage = "{0} 不应为空")]
		public DateTime EndDate { get; set; }
		/// <summary>
		/// 优惠券概要
		/// </summary>
		public string CouponSummark { get; set; }
		/// <summary>
		/// 是否通用运输业务
		/// </summary>
		public bool IsCommonBusiness { get; set; }
		/// <summary>
		/// 车辆运输业务配置Id
		/// </summary>
		public long? VehicleTransportBusinessConfigId { get; set; }
	}
}
